package com.diy.springframework.step.instantiation;

import com.diy.springframework.step.definition.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * @program: diy_spring
 * @description:
 * @author: CaoYong
 * @create: 2021-07-21 10:00
 **/
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor constructor, Object[] args) throws Exception;
}
